import QtQuick 2.0

Item {
    property string title: ""
    property string button_source: "qrc:/picture/msgWarning.jpg"
    width: 140;
    height: 60;

    id: root


    signal released()



    Image {
        height: 20
        width: 20
        x: 20
        y: 20
        source: button_source
    }
    Text{
        x: 45
        y: 23
        text: title
        color: "#555555"
    }


    MouseArea{
        anchors.fill: parent
        onReleased: root.released()
    }

}
